package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.cdcz;

import com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.place.PlaceBusinessConfigListResponse;

import java.util.List;

/**
 * 充电插座价格配置
 * @version 2023-02-07
 */
public class PlaceCDCZCostConfig extends PlaceBusinessConfigListResponse.Item {

    private static final long serialVersionUID = 1L;
    
	private Long id;
    private String title;
    private List<String> timeSetMeal;       //时间套餐
    private String minWalletPrice;
    private Integer maxChargeTimesMinute;   //充电时长，分钟
    private Double maxChargeElectricity;    //最大充电量

    private List<PimItem> pimItems;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<String> getTimeSetMeal() {
        return timeSetMeal;
    }

    public void setTimeSetMeal(List<String> timeSetMeal) {
        this.timeSetMeal = timeSetMeal;
    }

    public String getMinWalletPrice() {
        return minWalletPrice;
    }

    public void setMinWalletPrice(String minWalletPrice) {
        this.minWalletPrice = minWalletPrice;
    }

    public Integer getMaxChargeTimesMinute() {
        return maxChargeTimesMinute;
    }

    public void setMaxChargeTimesMinute(Integer maxChargeTimesMinute) {
        this.maxChargeTimesMinute = maxChargeTimesMinute;
    }

    public Double getMaxChargeElectricity() {
        return maxChargeElectricity;
    }

    public void setMaxChargeElectricity(Double maxChargeElectricity) {
        this.maxChargeElectricity = maxChargeElectricity;
    }

    public List<PimItem> getPimItems() {
        return pimItems;
    }

    public void setPimItems(List<PimItem> pimItems) {
        this.pimItems = pimItems;
    }

    public static class PimItem {

        private Double minPower;
        private Double maxPower;
        private String price;

        public Double getMinPower() {
            return minPower;
        }

        public void setMinPower(Double minPower) {
            this.minPower = minPower;
        }

        public Double getMaxPower() {
            return maxPower;
        }

        public void setMaxPower(Double maxPower) {
            this.maxPower = maxPower;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }
    }
}
